package com.mis.geoEncryption.model.data;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlElement;

@XmlType
public class Merchant implements IMerchant{
	
	@XmlElement
	private String currentMerchantName;
	@XmlElement
	private String currentMerchantID;
	
	private List<Item> currentItems;
	
	public Merchant() {
		super();
		currentItems = new ArrayList<Item>();
	}

	public String getMerchantName() {
		return currentMerchantName;
	}
	
	public void setMerchantName(String merchantName) {
		this.currentMerchantName = merchantName;
	}
	
	public String getMerchantID() {
		return currentMerchantID;
	}
	
	public void setMerchantID(String merchantID) {
		this.currentMerchantID = merchantID;
	}
	
	public List<Item> getItems() {
		return currentItems;
	}
	
	public void setItems(List<Item> items) {
		this.currentItems = items;
	}
	
	public void addItem(Item item) {
		currentItems.add(item);
	}
	
}
